surface: Add an autohide property
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Apr 2019 21:31:33 +0000 (21:31 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:14 +0000 (20:25 +0000)
commitb15ba64ec9b495a51307773bd71f72d6e80b2700
treefd2b93b7829a502748d32b9058de36c5a1ba5347
parent2dd15346a7eb7eb5d8ab276c64ceedbaa6d62eda
surface: Add an autohide property

This api is meant to mimic xdg-popover.grab - we
show the surface, and dismiss it when we get events
on other surfaces. For foreign surfaces, the compositor
handles that for us; for our own, we check outselves
before delivering events to GTK.
docs/reference/gdk/gdk4-sections.txt
gdk/gdksurface.c
gdk/gdksurface.h
gdk/gdksurfaceprivate.h